﻿<%@ Import Namespace="System.Globalization" %>

<%@ Page Title="" Language="C#" MasterPageFile="~/mainadmin.Master" AutoEventWireup="true"
    CodeBehind="EditCombo.aspx.cs" Inherits="AsiaSnackExpress.EditCombo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table cellpadding="0" cellspacing="0" width="100%">
      <tr>
            <td colspan="2">
                <div class="divMealDetailColumn">
                    <div class="divleft">
                        <asp:Label ID="Label4" Font-Bold="true" runat="server" Text='Price of Combo'></asp:Label>
                    </div>
                    <div class="divright">
                        <asp:TextBox ID="txtPrice" runat="server" Width="100%"></asp:TextBox>
                        <asp:CompareValidator ID="CompareValidator1" Display="Dynamic" runat="server" ErrorMessage="Please input correct price(number)."
                                        ControlToValidate="txtPrice" Operator="DataTypeCheck" Type="Currency" ValidationGroup="UpdateCombo"></asp:CompareValidator>
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="divMealDetailColumn">
                    <div class="divleft">
                        <asp:Label ID="order" Font-Bold="true" runat="server" Text='Name (Germany)  '></asp:Label>
                    </div>
                    <div class="divright">
                        <asp:TextBox ID="txtName" runat="server" Width="100%"></asp:TextBox>
                        <asp:RequiredFieldValidator ControlToValidate="txtName" ID="RequiredFieldValidator1"
                            runat="server" ErrorMessage="Please input the Name" Display="Dynamic" ValidationGroup="UpdateCombo"></asp:RequiredFieldValidator>
                    </div>
                </div>
                 <div class="divMealDetailColumn">
                    <div class="divleft">
                        <asp:Label ID="Label3" Font-Bold="true" runat="server" Text='Meals (Germany)  '></asp:Label>
                    </div>
                    <div class="divright">
                        <asp:TextBox ID="txtMeals" runat="server" Width="100%" TextMode="MultiLine"
                            Rows="6"></asp:TextBox>
                    </div>
                </div>
                <div class="divMealDetailColumn">
                    <div class="divleft">
                        <asp:Label ID="Label2" Font-Bold="true" runat="server" Text='Description (Germany)  '></asp:Label>
                    </div>
                    <div class="divright">
                        <asp:TextBox ID="txtDescription" runat="server" Width="100%" TextMode="MultiLine"
                            Rows="3"></asp:TextBox>
                    </div>
                </div>
            </td>
            <td>
                <div class="divMealDetailColumn">
                    <div class="divleft">
                        <asp:Label ID="Label1" Font-Bold="true" runat="server" Text='Name (English)'></asp:Label>
                    </div>
                    <div class="divright">
                        <asp:TextBox ID="txtNameEnglish" runat="server" Width="100%"></asp:TextBox>
                    </div>
                </div>
                 <div class="divMealDetailColumn">
                    <div class="divleft">
                        <asp:Label ID="Label5" Font-Bold="true" runat="server" Text='Meals (English)'></asp:Label>
                    </div>
                    <div class="divright">
                        <asp:TextBox ID="txtMealEnglish" runat="server" Width="100%" TextMode="MultiLine"
                            Rows="6"></asp:TextBox>
                    </div>
                </div>
                <div class="divMealDetailColumn">
                    <div class="divleft">
                        <asp:Label ID="lblEnglishDescription" Font-Bold="true" runat="server" Text='Description (English)  '></asp:Label>
                    </div>
                    <div class="divright">
                        <asp:TextBox ID="txtDescrioptionEnglish" runat="server" Width="100%" TextMode="MultiLine"
                            Rows="3"></asp:TextBox>
                    </div>
                    
                </div>
            </td>
        </tr>
         <tr>
            <td colspan="2" style="min-height: 60px">
             <div class="divMealDetailColumn">
                    <div class="divleft">
                        <asp:Label ID="Label7" Font-Bold="true" runat="server" Text='Old Image'></asp:Label>
                    </div>
                    <div class="divright">
                    <asp:Image ID="imageOld" runat="server" />
                    </div>
                </div>
                <div class="divMealDetailColumn">
                    <div class="divleft">
                        <asp:Label ID="Label6" Font-Bold="true" runat="server" Text='New Image'></asp:Label>
                    </div>
                    <div class="divright">
                        <asp:FileUpload ID="fileImage" runat="server" />
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center" style="min-height: 60px">
                <asp:Button ID="btnSave" runat="server" Text="Update" OnClick="btnSave_Click" />
                <asp:Button ID="btnCancel" runat="server" Text="Cancel" OnClick="btnCancel_Click" />
            </td>
        </tr>
        <tr>
            <td colspan="2" align="left">
                <asp:Label ID="lblMessage" runat="server" ForeColor="Green" Text=""></asp:Label>
            </td>
        </tr>
        
    </table>
</asp:Content>
